package com.kamloo.stg.data.db;


public class Stop extends DataObject {
		
	private String name;
	private double latitude;
	private double longitude;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
			
	
	public Stop(int id, String name)
	{
		super(id);
		this.setName(name);
	}
	
	public Stop(int id, String name, double latitude, double longitude)
	{
		super(id);
		this.setName(name);
		this.setLatitude(latitude);
		this.setLongitude(longitude);
	}
	
	public String toString() {
		return "id : " + id + 
				"; name: " + name +
				"; latitude: " + latitude + 
				"; longitude: " + longitude;
	}
		
}
